package com.example.biyesheji.service.impl;

import com.example.biyesheji.mapper.ProductMapper;
import com.example.biyesheji.model.param.ProductSaleParam;
import com.example.biyesheji.model.result.LayuiPageTable;
import com.example.biyesheji.pojo.ProductSales;
import com.example.biyesheji.service.TableService;
import com.example.biyesheji.utils.LayuiFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TableServiceImpl implements TableService {

    @Autowired
    private ProductMapper productMapper;

    @Override
    public List<ProductSales> getPageList(ProductSaleParam param) {

        List<ProductSales> searchProductSales = productMapper.getSearchProductSales(param);
        return searchProductSales;
    }
}
